package cn.sfrog.project.biz.web.vo.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 分页数据
 */
@Data
@ApiModel(description = "陪护豆充值表单VO")
public class AppUserRechargeFormVO {


    @ApiModelProperty("陪护豆数量")
//    @NotNull(message = "陪护豆数量不能为空")
    private BigDecimal rechargeAmount;

    @ApiModelProperty("所需支付金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty("充值单位id")
    private Long rechargeUnitId;

    @ApiModelProperty("是否是自定义输入的金额【1=是 0=否】" )
    @NotNull(message = "是否自定义充值不能为空")
    private String isCustomize;

    @ApiModelProperty("支付方式【微信=WX_PAY 微信=WX_APPLET_PAY  支付宝=ALI_PAY】" )
    @NotBlank(message = "支付方式不能为空")
    private String payType;

    @ApiModelProperty("小程序支付必须提供小程序获取的openId")
    private String openId;

    @ApiModelProperty("订单号")
    private String orderNum;
}
